On Simple Linear String Equations
نویسندگان
چکیده
This paper presents a novel backward constraint solving technique for analyzing text processing programs. String constraints are represented using a variation of word equation called Simple Linear String Equation (SLSE). SLSE supports precise modeling of various regular string substitution semantics in Java regex, which allows it to capture user input validation operations widely used in web applications. On the other hand, SLSE is more restrictive than a word equation in that the location where a variable can occur is restricted. We present the theory of SLSE, and a recursive algorithm that can compute the solution pool of an SLSE. Given the solution pool, any concrete variable solution can be generated. The algorithm is implemented in a Java library called SUSHI. SUSHI can be applied to vulnerability analysis and compatibility checking. In practice, it generates command injection attack strings with very few false positives.
منابع مشابه
Drill string Vibration Modeling Including Coupling Effects
Abstract: The governing equations of motion for a drill string considering coupling between axial, lateral and torsional vibrations are obtained using a Lagrangian approach. The result leads to a set of non-linear equations with time varying coefficients. A fully coupled model for axial, lateral, and torsional vibrations of drill strings is presented. The bit/formation interactions are assumed ...
متن کاملBack Reaction in the Formation of a Straight Cosmic String
A simple model for the formation of a straight cosmic string, wiggly or un-perturbed is considered. The gravitational eld of such string is computed in the linear approximation. The vacuum expectation value of the stress tensor of a massless scalar quantum eld coupled to the string gravitational eld is computed to the one loop order. Finally, the back-reaction eeect on the gravi-tational eld of...
متن کاملNonlinear Dynamics of the Rotational Slender Axially Moving String with Simply Supported Conditions
In this research, dynamic analysis of the rotational slender axially moving string is investigated. String assumed as Euler Bernoulli beam. The axial motion of the string, gyroscopic force and mass eccentricity were considered in the study. Equations of motion are derived using Hamilton’s principle, resulting in two partial differential equations for the transverse motions. The equations are ch...
متن کاملVerification of String Manipulating Programs Using Multi-Track Automata
Verification of string manipulation operations is a crucial problem in computer security. We present a new symbolic string verification technique that can be used to prove that vulnerabilities that result from improper string manipulation do not exist in a given program. We formally characterize the string verification problem as the reachability analysis of string systems, programs that contai...
متن کاملAsymptotic Approximations of the Solution for a Traveling String under Boundary Damping
Transversal vibrations of an axially moving string under boundary damping are investigated. Mathematically, it represents a homogenous linear partial differential equation subject to nonhomogeneous boundary conditions. The string is moving with a relatively (low) constant speed, which is considered to be positive. The string is kept fixed at the first end, while the other end is tied with the ...
متن کاملSemiclassical back reaction in the formation of a straight cosmic string.
A simple model for the formation of a straight cosmic string, wiggly or unperturbed is considered. The gravitational field of such string is computed in the linear approximation. The vacuum expectation value of the stress tensor of a massless scalar quantum field coupled to the string gravitational field is computed to the one loop order. Finally, the back-reaction effect on the gravitational f...
متن کامل